package edu.sctu.jarime.june.day20150628.util;

import com.alibaba.fastjson.JSONObject;
import edu.sctu.jarime.june.day20150628.appbean.JsonAppbean;


import java.io.IOException;

/**
 * Created by user19 on 2015/6/28.
 */
public class JsonUtil {
    public  JsonAppbean parsingJson(String json) throws IOException {

        JsonAppbean jsonAppbean = JSONObject.parseObject(json,JsonAppbean.class);
        return jsonAppbean;

    }
}
